package test.com.linkgie.galaxyframework.binaryserialize;

import com.linkgie.galaxyframework.binaryserialize.BinaryEnum;
import com.linkgie.galaxyframework.binaryserialize.EnumField;
import com.linkgie.galaxyframework.binaryserialize.PrimitiveType;

/**
 * 
 */
@BinaryEnum(code=0x0100, name = "EnumLevel", decription = "")
public enum EnumLevel {

    V1((byte) 1),

    V2((byte) 2);

    @EnumField(type= PrimitiveType.INT8)
    public final byte CODE;
    public byte getCode() {
        return CODE;
    }
    private EnumLevel(byte code) {
        this.CODE = code;
    }

}

